package org.aphelie.torg.ruler.internal.ui.editor.character.validation;

import org.aphelie.torg.ruler.core.character.ICharacterModelBase;
import org.eclipse.core.resources.IProject;

public class ControlValidationUtility {

	public static boolean validateRequiredField(
			String value,
			TextValidator validator, 
			int messageType) {
		if (value.length()==0) {
			return false;
		}
		return true;
	}

	public static boolean validateTranslatableField(String text,
			TextValidator validator,
			ICharacterModelBase modelBase, IProject project) {
		// TODO Auto-generated method stub
		return true;
	}

	public static boolean validatePlatformFilterField(String text,
			TextValidator fPlatformEntryValidator) {
		// TODO Auto-generated method stub
		return true;
	}

	public static boolean validateVersionField(String text,
			TextValidator fVersionEntryValidator) {
		// TODO Auto-generated method stub
		return true;
	}

}
